package huiji;

import java.awt.image.BufferedImage;
import java.net.URL;
import java.util.List;

/**
 * 子弹
 */
public class Bullet extends BaseObj{
    private int power;//伤害

    public Bullet(){
        setSpeed(5);//
    }

    @Override
    public Bullet setImageAndWH(BufferedImage image) {
        return (Bullet)super.setImageAndWH(image);
    }

    @Override
    public Bullet setWidth(int width) {
        return (Bullet)super.setWidth(width);
    }

    @Override
    public Bullet setHeight(int height) {
        return (Bullet)super.setHeight(height);
    }

    @Override
    public Bullet setX(int x) {
        return (Bullet)super.setX(x);
    }

    @Override
    public Bullet setY(int y) {
        return (Bullet)super.setY(y);
    }

    @Override
    public Bullet setSpeed(int speed) {
        return (Bullet)super.setSpeed(speed);
    }

    @Override
    public Bullet setImageList(List<HuijiImage> imageList) {
        return (Bullet)super.setImageList(imageList);
    }

    @Override
    public Bullet setIndex(int index) {
        return (Bullet)super.setIndex(index);
    }
}
